 <?php 
    include_once("../formCRUD/regin_categori.php"); 
         ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="/css/cssform.css"/> 

<script src="/jquery/verif_pwd.js" type="text/javascript"></script>
<title>Document sans titre</title>
</head>
<body>
    <h3>Déposer une annonce -</h3>
    <table>
        <form action="" method="post" class="cmxform" id="commentForm" onSubmit="return testChamps(this);">
            <tr>
              <?php echo $select_region;?>
            </tr>
            <tr>
             <?php echo $select_categori ?>
            </tr>
            
            <tr>
                <td>Vous êtes un</td><td><input type="radio" id="rad1" name="particulier" value="part"/>Particulier 
                <input type="radio" id="rad1" name="professionnel" value="prof"/>Professionnel
                </td>
            </tr>
            <tr>
                <td>Type d'annonce</td><td><input type="radio" id="rad1" name="particulier" value="part"/>Offres
                <input type="radio" id="rad1" name="professionnel" value="prof"/>Demandes
                </td>
            </tr>
            <tr>
                <td>Votre nom </td><td><input type="text" name="nom"/></td>
            </tr>
            <tr>
                <td>Votre prenom</td><td> <input type="text" name="prenom"/></td>
            </tr>
            <tr>
               <td>Email</td><td><input type="text" name="mail"value="" onblur="req_pseudo(this.value);"> <span id="pseudo_check"></span></td>
            </tr>
            <?php if(!$_SESSION['user'])
                     echo $creer_compte;?>
            <tr>
                <td>Telephone</td>
                <td>
                    <input type="text" name="telephone"/>
                    <input type="checkbox" name="telmasq"/> :Masquer le numéro de téléphone dans l'annonce.
                </td>
            </tr>
            <tr>
                <td>Titre de l'annonce: </td>
                <td><input type="text" name="titreannonce"/></td>
            </tr>
            <tr>
                <td>Texte  de l'annonce: </td>
                <td><textarea name="titreannonce"></textarea></td>
            </tr>
            <tr>
                <td>Prix: </td>
                <td><input type="text" name="prix" size="15"/>Ouguiya</td>
            </tr>
            <tr>
                <td>Photo principale </td><td><input type="file" id="image" size="35" name="image"></td>
            </tr>
            </tr>
            
            </tr>
            <tr><td><input class="submit" type="submit" value="Valider"/></td>
            <td><input type="reset" value="Annuler" /></td></tr>
         </form>
    </table>
</body>
</html>